<template>
  <el-upload
    class="upload-demo"
    drag
    action="http://10.82.14.162:8000/voiceprint/"
    multiple
    name="audio"
    accept="audio/wav, audio/mp3"
    :data="extraParam"
  >
    <el-icon class="el-icon--upload"><upload-filled /></el-icon>
    <div class="el-upload__text">
      Drop file here or <em>click to upload</em>
    </div>
  </el-upload>
</template>

<script setup>
import { UploadFilled } from '@element-plus/icons-vue'
const extraParam={
  method:'post_db'
}
</script>

<style scoped>
.upload-demo .el-upload .el-upload__input{
  display: none;
}
</style>